package com.itheima.Demo01.demo01;

public class EclassTest {
    public static void main(String[] args) {
        Eclass<String> cs = new Eclass<>();
        cs.setName("张三");
        cs.setAge("25");
        System.out.println(cs.getName()+"---"+cs.getAge());

        Eclass<Integer> cs2 = new Eclass<>();
        cs2.setName(20);
        cs2.setAge(30);
        System.out.println(cs2.getName()+"---"+cs2.getAge());
    }
}
